<div class="available_balance"><?php echo L('available_balance');?>：<strong class="orange"><?php echo currency($user['user_money']);?></strong></div>
<table class="account-record">
  <tr>
    <th width="20%"><?php echo L('recharge_time')?></th>
    <th width="10%"><?php echo L('recharge_type')?></th>
    <th width="10%"><?php echo L('recharge_ampount')?></th>
    <th width="20%"><?php echo L('user_notes')?></th>
    <th width="20%"><?php echo L('admin_notes')?></th>
    <th width="10%"><?php echo L('recharge_status')?></th>
    <th width="10%"><?php echo L('operating')?></th>
  </tr>
  <?php 
  if(isset($accountList) && $accountList):
  foreach ($accountList as $account) :
  ?>
  <tr>
    <td><?php echo date('Y-m-d H:i:s',$account['add_time']);?></td>
    <td><?php echo L(UserModel::$processType[$account['process_type']]);?></td>
    <td><?php echo currency($account['amount']);?></td>
    <td><?php echo $account['user_note'] ? $account['user_note'] : 'N/A';?></td>
    <td><?php if($account['admin_note'] == 'gift_card'){echo L('gift_card');}else if($account['admin_note'] == '_Fabric_Swatches_'){echo L('_Fabric_Swatches_');}else if($account['admin_note'] == 'register'){echo L('account_register');}else{echo $account['admin_note'] ? $account['admin_note'] : 'N/A';}?></td>
    <td><?php echo L(UserModel::$accountStatus[$account['is_paid']]);?></td>
    <td>
      <?php if($account['is_paid']==0){?>
        <a href="<?php echo url('user/account_cancel', array('acc_id' => $account['id']))?>"><?php echo L('cancel')?></a>
      <?php }?>
    </td>
  </tr>
  <?php
    endforeach;
    else:
  ?>
  <tr>
    <td colspan="7" class="no-record"><?php echo L('norecords')?></td>
  </tr>
  <?php endif;?>
</table>
<div class="page" style="border-top: none;"><?php echo $pageShow;?></div>